package cn.cs.service;


import cn.cs.common.Dto;
import cn.cs.common.Page;
import cn.cs.pojo.AdBanner;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface AdBannerService {

    public AdBanner getAdbannerById(String id) throws Exception;

    public List<AdBanner> getAdbannerListByMap(Map<String, Object> param) throws Exception;

    public Integer getAdbannerCountByMap(Map<String, Object> param) throws Exception;

    public Integer addAdbanner(AdBanner adbanner) throws Exception;

    public Integer modifyAdbanner(AdBanner adbanner) throws Exception;

    public Integer deleteAdbannerById(String id) throws Exception;

    public Page<AdBanner> queryAdbannerPageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize) throws Exception;

    public Dto getAllAdBanners(HttpServletRequest request);
}
